package com.itheima.FactoryPattern;

public class test {
    public static void main(String[] args) {
        Computer c = Factory_demo.factory("Mac");
        c.start();
        Computer c1 = Factory_demo.factory("huawei");
        c1.start();

    }
}
